﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QD.Tools
{
    public static class ComboboxHelper
    {
        public static void Init(this ComboBox grid)
        {
            grid.DropDownStyle = ComboBoxStyle.DropDown;
            grid.AutoCompleteSource = AutoCompleteSource.ListItems;
            grid.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
        }
    }
}
